//
//  BN_TakePhotoController.h
//  BabyNow
//
//  Created by 刘泽琛 on 14-5-19.
//  Copyright (c) 2014年 iMobile. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AssetsLibrary/AssetsLibrary.h>
#import "ALAssetsLibrary+CustomPhotoAlbum.h"
#import "AVCaptureManager.h"
#import "ZYQAssetPickerController.h"
#import "MLImageCrop.h"
#import "UIImage+Rotate.h"
#import "UIImage+wiRoundedRectImage.h"
#import "LRGlowingButton.h"

typedef void(^BackIMGInfo)(UIImage *img);

@interface BN_TakePhotoController : UIViewController <AVCaptureManagerDelegate,ZYQAssetPickerControllerDelegate,UIImagePickerControllerDelegate>
/**
 *  返回上级控制器
 */
@property (weak, nonatomic) IBOutlet LRGlowingButton *backVcBtn;

@property (weak, nonatomic) IBOutlet UIView *bottomView;

/**
 *  得到最后一张图片
 */
@property (weak, nonatomic) IBOutlet UIImageView *lastPhotoImageView;

@property (weak, nonatomic) IBOutlet UIButton *takePhotoBtn;

@property (nonatomic, strong) AVCaptureManager *captureManager;

@property (nonatomic, strong) BackIMGInfo backImgInfo;

- (void)getTodealWith:(BackIMGInfo)backIMGinfo;

@end
